<template>
    <a-form style="margin: 40px auto 0;">
      <a-result  status="success" title="操作成功！"  >
        <template #extra>
          <a-button type="primary" @click="finish">再来一票</a-button>
          <a-button style="margin-left: 8px" @click="toBillList">查看导入详细</a-button>
        </template>
      </a-result>
    </a-form>
</template>

<script setup>
import { ref } from 'vue';
// 定义 emits
const emit = defineEmits(['finish']);

// 定义响应式数据
const loading = ref(false);

// 定义方法
const finish = () => {
  emit('finish', 0);
};

const toBillList = () => {
  emit('finish', 1);
};
</script>

<style lang="scss" scoped>
  .information {
    line-height: 22px;
    .ant-row:not(:last-child) {
      margin-bottom: 24px;
    }
  }
  .money {
    font-family: "Helvetica Neue",sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 14px;
  }
  .center-bold { text-align: center; /* 居中对齐 */ font-weight: bold; /* 加粗字体 */ }
</style>
